import './App.css'
import MRouter from './router/indexRouter'
import { BrowserRouter, } from 'react-router-dom'
import { Provider } from 'react-redux'
import { store ,persistor} from './redux/store'
import { PersistGate } from 'redux-persist/integration/react'
function App() {
  return <Provider store={store}>
    <PersistGate loading={null} persistor={persistor}>
      <BrowserRouter>
        <MRouter></MRouter>
      </BrowserRouter>
    </PersistGate>
  </Provider>
}

export default App